-- GENERATED SPELL FOR [Galak Scout] --


function spell0_4094(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4094', 643, 1)
end

function Sorts_4094(pUnit, Event)
local choix_sorts_4094 = math.random(0, 0)
if choix_sorts_4094 == 0 then
pUnit:RegisterEvent('spell0_4094', 1, 1)
end
end

function mob4094_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4094', math.random(1500, 3000), 1)
end

function mob4094_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4094_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4094_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4094, 1, 'mob4094_Action')
RegisterUnitEvent(4094, 2, 'mob4094_Leave')
RegisterUnitEvent(4094, 3, 'mob4094_Kill')
RegisterUnitEvent(4094, 4, 'mob4094_Die')
